import React, { Component } from 'react'
import {withRouter} from "react-router-dom"

class User extends Component {
    componentDidMount(){
        console.log("id=",this.props.match.params.id);
    }
    render() {
        return (
            <div>劳资的空间</div>
        )
    }
}

export default withRouter(User)